@extends('contest/layouts/default')
@section('titlte')
@stop
@section('content')
<div class="box-adv-top">
    <a href="#"><img src="<?= asset('assets/commons/images/banner.jpg') ?>" alt="banner"></a>
</div>
<div class="wapper">
    <div class="default-width-left">
        <div>
            <div class="title" style="width: 100%">
                <label>Bản tin sàn diễn</label>
            </div>
            <div class="box-news">
                <div class="left">
                    <a href="<?= route('detail-blog', array('id' => $data['news'][0]->id, 'slug' => $data['news'][0]->slug)) ?>"><img src="<?= Config::get('constants.URL_IMAGE_BLOG') . $data['news'][0]->thumbnail ?>"
                                    alt="<?= $data['news'][0]->title ?>"></a>
                    <a href="<?= route('detail-blog', array('id' => $data['news'][0]->id, 'slug' => $data['news'][0]->slug)) ?>"><?= $data['news'][0]->title ?></a>

                    <p><?= str_limit(strip_tags($data['news'][0]->content), 200, '...') ?></p>
                    <? unset($data['news'][0]); ?>
                </div>
                <div class="right">
                    <ul>
                        @foreach($data['news'] as $news)
                        <li>
                            <div class="thumb">
                                <a href="<?= route('detail-blog', array('id' => $news->id, 'slug' => $news->slug)) ?>"><img
                                        src="<?= Config::get('constants.URL_IMAGE_BLOG') . $news->thumbnail ?>"/></a>
                            </div>
                            <div class="ct">
                                <a href="<?= route('detail-blog', array('id' => $news->id, 'slug' => $news->slug)) ?>" class="font12 fontB"><?= $news->title ?></a>

                                <p class="font11"><?= str_limit(strip_tags($news->content), 60, '...') ?></p>
                            </div>
                        </li>
                        @endforeach
                    </ul>
                </div>
            </div>
        </div>
        <div class="box-list">
            <div class="title">
                <label>Các bài thi nổi bật đã diễn ra</label>
            </div>
            @include('contest/includes/box-video',array('videos'=>$data['videos']))
        </div>
    </div>
    <div class="default-width-right">
        <div class="event">

            @if(!empty($data['cEvent']))
            @include('contest/contents/includes/timer-contest',array('contest'=>$data['cEvent']))
            @endif
            <div class="ct">
                <div>
                    <span class="color55">Chủ đề:</span>
                    <span class="font-Bold color66"></span>
                </div>
                <div>
                    <span class="color55">Thời gian:</span>
                    <span class="font-Bold color66"></span>
                </div>
                <div>
                    <span class="color55">Số lượng bài dự thi:</span>
                    <span class="font-Bold color66"></span>
                </div>
                <p class="colorDackG font-Bold PdB10">Thông tin giải thưởng</p>

                <div>
                    <span class="color55">Giải nhất:</span>
                    <span class="font-Bold color66"></span>
                </div>
                <div>
                    <span class="color55">Giải nhì:</span>
                    <span class="font-Bold color66"></span>
                </div>
                <div>
                    <span class="color55">Giải ba:</span>
                    <span class="font-Bold color66"></span>
                </div>
            </div>
            <div class="box-btn-right text-right">
                <a href="#">Xem chi tiết <i class="fa fa-angle-double-right">&nbsp;</i></a>
            </div>
        </div>
    </div>
</div>
@stop